.clearfix::after {
  content: '';
  display: block;
  clear: both; }

* {
  margin: 0;
  border: 0; }

ol,
ul {
  list-style: none; }

a {
  text-decoration: inherit;
  color: inherit; }

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden; }

body {
  background-color: #efefef;
  color: black;
  padding-bottom: 100px; }

body.loadingBody {
  width: 100vw;
  height: 100vh;
  overflow: hidden; }

.siteWelcome.active {
  width: 100vw;
  height: 100vh;
  background-color: #898889;
  display: flex;
  justify-content: center;
  align-items: center; }

.siteWelcome {
  display: none; }

[data-x].active {
  outline: 10px solid red; }

[data-x] {
  transform: translateY(0);
  transition: all 0.5s; }

[data-x].animate {
  transform: translateY(200px); }

.NavBar {
  padding: 22px 0;
  position: fixed;
  width: 100%;
  transition: all 0.3s;
  z-index: 10; }

.NavBar.sticky {
  display: fixed;
  top: 0;
  background-color: #ffffff;
  padding: 10px 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); }
  .NavBar.sticky a {
    color: #3d4451; }

.logo {
  font-size: 24px;
  font-family: "Arial Black"; }

.rs {
  color: #e6686a;
  margin-right: 4px; }

.card {
  color: #9a9da2; }

.logo {
  float: left;
  margin-left: 16px;
  padding-top: 0.5px;
  padding-bottom: 6.5px; }

.NavBarList {
  list-style: none;
  float: right;
  padding-right: 16px;
  padding-top: 4px;
  padding-bottom: 4px; }
  .NavBarList > li {
    position: relative;
    display: block;
    float: left;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-left: 17px;
    margin-right: 17px;
    font-size: 12px;
    font-weight: bold;
    color: #b7b7b7;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent; }

.NavBarList > li > a {
  position: relative;
  display: block;
  padding-bottom: 5px; }

.NavBarList > li > a:hover::after,
.NavBarList > .highLight > a::after {
  content: '';
  position: absolute;
  display: inline-block;
  width: 100%;
  height: 3px;
  top: 100%;
  left: 0;
  background: #e6686a;
  animation: slide-right 0.3s linear; }

@keyframes slide-right {
  0% {
    width: 0; }
  100% {
    width: 100%; } }

@keyframes menu-slide {
  0% {
    margin-right: 100%; }
  100% {
    margin-right: 0%; } }

.menuTrigger > .subMenu {
  display: none;
  top: 100%;
  right: 0;
  cursor: pointer;
  position: absolute;
  padding: 0;
  background: #fff;
  color: #3d4451;
  font-size: 16px;
  font-weight: 100; }

.menuTrigger.active > .subMenu {
  display: inline-block;
  animation: menu-slide .2s linear; }

.NavBarList > li > .subMenu > li {
  padding: 5px 10px;
  white-space: nowrap; }

.banner {
  background-image: url(img/rs-cover.png);
  height: 515px;
  background-position: center center;
  background-size: cover; }

.mask {
  height: 515px;
  background-color: rgba(0, 0, 0, 0.8); }

body > section > .card {
  color: black;
  padding-top: 50px;
  padding-bottom: 53px;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
  margin-top: -340px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5); }

.card > .picture {
  padding-left: 50px;
  float: left; }

.card > .text {
  padding-left: 55px;
  padding-right: 55px;
  float: left; }

.card > .text > h1 {
  font-size: 32px; }

.welcome {
  display: inline-block;
  padding: 4px 16px;
  background-color: #e6686a;
  color: white;
  line-height: 22px;
  position: relative;
  margin-bottom: 29px; }

.welcome:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-left-color: #e6686a;
  border-top-width: 0;
  left: 4px;
  top: 100%; }

.text > hr {
  height: none;
  width: 470px;
  border-top: 1px solid #dedede;
  margin: 20px 0; }

.text dt {
  float: left;
  width: 30%;
  font-weight: bold; }

.text dd {
  float: left;
  width: 70%;
  color: #9da0a7;
  margin: 6px 0; }

.media {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  background-color: #e6686a;
  text-align: center;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5); }

.media svg {
  width: 26px;
  height: 26px;
  fill: white;
  vertical-align: top; }

.media a {
  display: inline-block;
  border-radius: 50%;
  width: 40px;
  line-height: 30px;
  padding: 5px 0;
  margin: 18px 16px 14px; }

.media a:hover {
  background-color: #cf5d5f; }

.resumeDownload {
  border: 1px solid #cdcfd1;
  color: #3d4451;
  font-size: 14px;
  font-weight: bold;
  padding: 20px 55px 22px;
  display: inline-block;
  transition: all, 0.3s; }

.resumeDownload:hover {
  box-shadow: 0px 4px 13px 0px rgba(0, 0, 0, 0.2); }

.resumeDownload-wrapper {
  text-align: center;
  margin: 32px; }

.introduce {
  text-align: center;
  font-size: 18px; }

.introduce > p {
  line-height: 32px; }

.skill-wrapper {
  text-align: center;
  padding-top: 60px;
  color: #3d4451; }

.skillBar {
  padding-top: 45px;
  border: 1px solid #d4d4d4;
  background-color: #fff;
  max-width: 940px;
  margin: auto;
  margin-top: 29px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5); }

.skillBar li {
  font-size: 14px;
  float: left;
  width: 50%;
  margin-bottom: 39px; }

.skillMeter {
  background-color: #fae1e1;
  border-radius: 2px;
  width: 89.5%;
  height: 5px;
  margin-top: 4px;
  overflow: hidden; }

#siteSkill .skillProgress {
  background-color: #e6686a;
  border-radius: 2px;
  width: 50%;
  height: 100%;
  transition: all 1s; }

#siteSkill.animate .skillProgress {
  transform: translateX(-100%); }

.works-wrapper {
  text-align: center;
  color: #3d4451;
  margin-top: 60px; }

.works {
  margin-bottom: 30px; }

.swiper-container {
  width: 560px;
  height: 420px; }

.swiper-button-prev {
  position: absolute;
  left: 20%; }

.swiper-button-next {
  position: absolute;
  right: 20%; }

section.message {
  text-align: center;
  margin: 40px; }

section.message > .messageList {
  text-align: left;
  max-width: 700px;
  margin: 15px auto;
  border-top: 1px solid #DDD;
  background: #F4F4F4; }

section.message > .messageList > li {
  padding: 16px;
  border-bottom: 1px solid #DDD; }

.message > input.submit:focus {
  outline: none; }
